<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition template="/WEB-INF/template/comum/template.xhtml"
                xmlns="http://www.w3.org/1999/xhtml" 
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core">

    <ui:define name="conteudo">
        <form class="form-horizontal" method="POST" action="j_security_check" accept-charset="UTF-8">
            <fieldset>
                <div id="legend">
                    <legend class="">JCash - Autenticação</legend>
                </div>
                <div class="control-group">
                    <!-- Username -->
                    <label class="control-label"  for="username">Nome de Usuário</label>
                    <div class="controls">
                        <input type="text" id="username" name="j_username" placeholder="" class="input-xlarge" />
                    </div>
                </div>

                <div class="control-group">
                    <!-- Password-->
                    <label class="control-label" for="password">Senha</label>
                    <div class="controls">
                        <input type="password" id="password" name="j_password" placeholder="" class="input-xlarge" />
                    </div>
                </div>
                <div class="control-group">
                    <!-- Button -->
                    <div class="controls">
                        <button class="btn btn-success" type="submit">Login</button>
                        <a class="btn " href="../login/create.jsf">Criar Usuário</a>
                    </div>
                </div>
            </fieldset>
        </form>    
    </ui:define>
</ui:composition>